package com.larry

import java.io.{File, PrintWriter}
import java.net.Socket

object Scala_Master {
  def main(args: Array[String]): Unit = {
    val socket = new Socket("localhost", 9999)
    val out = socket.getOutputStream
    out.write(1)
    out.flush()
    out.close()

    socket.close()
  }

}
